<?php
// This is the shared application configuration,
// containing config that is used by both Webapp
// and console app.

//Get settings 
require_once('settings.php');

return array (
    	'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
	'name'=>'מרכז החינוכי איילים',

    	// application-level parameters that can be accessed
	// using Yii::app()->params['paramName']
        'params'=>array(
                // App version
                'version'=>'v0.3(r15)',
	),

        
        // application components
	'components'=>array(
            //Database connection
            'db'=>array(
                'connectionString'=>'mysql:'.DB_CONNECTION.';dbname='.DB_SCHEMA,
                'username'=> DB_USERNAME,
                'password'=> DB_PASSWORD,
                'charset'=> DB_CHARSET,
                ),
        ),
);